package com.econ.ribbon;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author : zjf
 * @Description :
 * @Date : 2023/7/25 20:20
 * @Modified by : zjf
 */
@Configuration
public class IpRibbonRuleConfig {

    @Bean
    public IRule iRule() {
        return new IpUserHashRule();
    }
}
